package org.jeecg.modules.wmhb.service;

import org.jeecg.modules.wmhb.entity.*;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * @Description: 电仪订货明细
 * @Author: jeecg-boot
 * @Date:   2025-02-26
 * @Version: V1.0
 */
public interface IWmPurchaseOrderDetailDyService extends IService<WmPurchaseOrderDetailDy> {
    /**
     * 批量到货
     */
    public void arriveBatch(List<String> idList, String factArriveTime);

    /**
     * 搜索
     */
    public List<WmPurchaseOrderDetailDy> searchBySeriesNo(String seriesNo);

    /**
     * 搜索序号和备注
     */
    public List<WmPurchaseOrderDetailDy> searchBySeriesNoAndRemark(String seriesNo, String remark);

    /**
     * 更新导入信息
     */
    public void updateBySeriesNoAndRemark(WmPurchaseOrderDetailDy wmPurchaseOrderDetailDy);

    /**
     * 搜索
     */
    public List<WmPurchaseOrderDetailDy> searchByContractAndJdName(String contractNo, String jdName);

    /**
     * 更新导入信息
     */
    public void updateByContractAndJdName(WmPurchaseOrderDetailDy wmPurchaseOrderDetailDy);

    /**
     * 搜索
     */
    public List<WmPurchaseOrderDetailDy> searchByJdOrderAndJdName(String contractNo, String jdName);

    /**
     * 更新导入信息
     */
    public void updateByJdOrderAndJdName(WmPurchaseOrderDetailDy wmPurchaseOrderDetailDy);

    /**
     * 查询没有序号的数据
     */
    public List<WmPurchaseOrderDetailDy> queryNoSeriesNoOfPurchaseBom();

    /**
     * 根据任务号和金蝶名称查询
     */
    public List<WmPurchaseOrderDetailDy> queryNoSeriesNoOfTaskBom(WmTaskBom wmTaskBom, WmTaskbook wmTaskbook);
}
